package net.xo68.destiny.core.common;

import org.springframework.lang.Nullable;

/**
 * 对象转换器
 * @author wuxie
 * @version 2020-11-19
 * @param <S>
 * @param <T>
 */
@FunctionalInterface
public interface ObjectConverter<S, T>  {

    @Nullable
    T convert(S source);

}
